.Net Framework > v2.0.50727 > System > IO > MemoryStream > MemoryStream MemoryStream()
MemoryStream(Byte[])
MemoryStream(Byte[],Boolean)
MemoryStream(Byte[],Int32,Int32)
MemoryStream(Byte[],Int32,Int32,Boolean)
MemoryStream(Byte[],Int32,Int32,Boolean,Boolean)
MemoryStream(Int32)


MemoryStream()

Category
Constructor
Description
Initializes a new instance of the System.IO.MemoryStream class with an expandable capacity initialized to zero.
Type
void
Character
public
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MemoryStream(Byte[])

Category
Constructor
Description
Initializes a new non-resizable instance of the System.IO.MemoryStream class based on the specified byte array.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MemoryStream(Byte[],Boolean)

Category
Constructor
Description
Initializes a new non-resizable instance of the System.IO.MemoryStream class based on the specified byte array with the System.IO.MemoryStream.CanWrite property set as specified.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
writableBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MemoryStream(Byte[],Int32,Int32)

Category
Constructor
Description
Initializes a new non-resizable instance of the System.IO.MemoryStream class based on the specified region (index) of a byte array.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
indexInt32
countInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MemoryStream(Byte[],Int32,Int32,Boolean)

Category
Constructor
Description
Initializes a new non-resizable instance of the System.IO.MemoryStream class based on the specified region of a byte array, with the System.IO.MemoryStream.CanWrite property set as specified.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
indexInt32
countInt32
writableBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MemoryStream(Byte[],Int32,Int32,Boolean,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.IO.MemoryStream class based on the specified region of a byte array, with the System.IO.MemoryStream.CanWrite property set as specified, and the ability to call System.IO.MemoryStream.GetBuffer set as specified.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
indexInt32
countInt32
writableBoolean
publiclyVisibleBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MemoryStream(Int32)

Category
Constructor
Description
Initializes a new instance of the System.IO.MemoryStream class with an expandable capacity initialized as specified.
Type
void
Character
public
Parameters
NameTypeDescription
capacityInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database